home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 1 Issue 2
/
PDCD-1 - Issue 02.iso
/
_utilities
/
utilities
/
003
/
_keeper
/
!Keeper
/
!Help
< prev
next >
Wrap
Text File
|
1993-07-05
|
7KB
|
183 lines
!Keeper (1.00): to keep your files backuped.
Introduction
------------
Keeper provides an easy way to make regular backup of your files. You can
specify the files or directory to backup, choose the destination directory,
include a command or obey file that can be runned before (and/or after) the
backup and select the type of backup required (all files, newer files).
The control files generated by Keeper can be runned from the desktop, just
like an obey file, to make a backup of the files without having to load the
Keeper application.
The lists
---------
You can specify two lists of files: the first (Backup list) contains the
files or directories to backup and the second (Exclude list) the files or
directories to exclude from the backup. This means that you can specify a
whole directory but exclude some files from it. For example if you are
programming an application you may want to backup regularly its directory.
Let us consider the following directory structure:
!App --> !Boot
!Help
!Run
!RunImage
!Sprites
c --> Source1
Source2
h --> Header1
Header2
Makefile
o --> Object1
Object2
Templates
You probably want to backup all the directory (ie. you don't want to
specify all the single files in the !App directory) and so in the Backup
list you must put !App. However there are files (ie. !RunImage and the
contents of the 'o' directory) that can be easily reconstructed from the
sources (contained in the 'c' and 'h' directories). To avoid this you must
put !RunImage and the 'o' directory in the Exclude list.
After a backup the backup directory will contain:
!App --> !Boot
!Help
!Run
!Sprites
c --> Source1
Source2
h --> Header1
Header2
Makefile
Templates
The backup options
------------------
There are three types of backups (Newer, All and Freshen) so that only
some files are copied:
Newer : only the files that are absent from the backup directory or that
have a recent date stamp.
All : (obviously) all the files, regardless of the date stamp.
Freshen: only the files that are already present in the backup directory
but that have an older date stamp.
Usually Newer is the suitable option for regular backup but with Freshen
you can have a finer control over the copied files (the files in the
backup directory are a sort of Include-only list).
The start and the end of the backup
-----------------------------------
Before starting and after finishing a backup, Keeper can execute two CLI
commands or obey files. In this way you can unprotect your read-only hard
disc partition where you keep the backup copies and then reprotect it or
you can create a SparkFS archive on a disc before filling it.
The window
----------
The contents of the main window is quite self-explicative and I will only
explain how to fill the fields. Almost everything can be done by dragging:
- to include files in the backup or exclude list simply drag them to the
relative sub-window.
- to choose the backup directory drag the directory or a file contained in
it to the writeable field or drag the writeable field itself to a filer
window.
- to choose the files to run before and after the backup drag the obey(s)
to the relative writeable fields. If you want to execute a CLI command
you must definitely write it yourself.
The menus
---------
The two menus are quite short and easy to use:
- the main menu allows you to save the control file
- with the sub-windows menu you can remove the file under the pointer.
The control file
----------------
Keeper generates control files with filetype &641. These files can be
runned from the desktop (after Keeper has been seen by the filer) to
start the backup without having to explicitly load the application: after
the backup is finished, Keeper will automatically quit. If Keeper is
already loaded or if you press Ctrl while double clicking, the file will
be loaded in Keeper.
Other features and comments
---------------------------
When the multitask option is selected, Keeper will use the standard filer
action window to copy the files. Because of a limitation in the filer
(only one source and one destination directory can be choosen) it is
likely that more than one window is needed for the backup: to avoid that
opening too many windows in one go would fill up the memory, after a
window has closed onother one will be opened.
The control files are written in plain text (even if they have a special
filetype so that can be double clicked and runned). This means that you
can load them in an editor to change their content without having to load
Keeper. If an entry is missing (ie. you want to clear the commands to run
before and after or the backup directory) a ":" is placed.
Inside the Keeper application you can save a control file called "Default":
this file is loaded every time Keeper is runned so that you can set up
your default backup directory and commands setting.
Known bugs
----------
Strangely if you try to save a control file directly to an editor you get
a blank file: fortunately this is never needed.
Possible improvements (in order of importance)
----------------------------------------------
Allow to edit the files in the backup and exclude list and add support
for wildcards in filenames.
Add an option to copy the files in the backup dir to another directory
instead of overwriting them, so that you can have two levels of backup.
History
-------
1.00 The first release.
Thanks go to:
-------------
- Loek Frederiks for the code of the solid drag save box.
- Cristian Ghezzi for his support and Internet access.
- All the people who keep Internet alive, especially who writes news,
comments, ideas and hints for the Acorn world.
Conditions of use
-----------------
This software is copyrighted by Sergio Monesi and is NOT Public Domain.
You can distribute it freely as long as you don't do it for profit and you
include all the original files. You can't modify it in any way without my
prior permission.
Donations, suggestions and criticism are always welcome. Please contact me
via e-mail if you can or send me a disc if you want the latest version.
Sergio Monesi
Via Trento e Trieste 30
20046 Biassono (MI)
Italy
Temporary e-mail address: ser1536@cdc835.cdc.polimi.it